﻿@model IEnumerable<Classified.Domain.Entities.OrderType>
<h1>
    List of <small>Settings</small></h1>
<p align="right" style="float: left" class="noprint">
    <a href="javascript:void(0);" class="btn primary newDetailLocation btn-info"><i class="icon-plus icon-white">
    </i> Create new</a>
    <p />
    <table class="table table-bordered table-striped">
        <thead>
            <th>
                Name
            </th>
            <th width="10%">
                Price
            </th>
            <th width="10%">
                Duration
            </th>
            <th width="10%">
                Description
            </th>
            <th width="20%">
            </th>
        </thead>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.Name)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Price)
                </td>
                 <td>
                    @Html.DisplayFor(modelItem => item.Duration) Days
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Description)
                </td>
                <td>
                    <a href="@Url.Action("EditClassifiedSetting", "Admin", new { id = item.Id })" class="btn primary editLocationDetails" idLocationDetails="@item.Id"><i class=" icon-edit icon"></i> Edit</a>
                <a href="@Url.Action("DeleteClassifiedsetting", "Admin", new { id = item.Id })" class="btn btn-danger" onclick="return confirm('Are you sure you wish to delete this Location?');"><i class="icon-trash icon-white"></i> Delete</a>
                </td>
            </tr>
        }
    </table>